{template 'header'}
<!--当前位置-->
<div class="location layout960">
	当前位置:
	<a href="{SITE_URL}">
		<!--{Module::siteSetting('sitename')}-->
	</a>
	&nbsp; &gt; &nbsp;
	<a href="{url('store/list')}" title="车企在线店">车企在线店</a>
</div>
<!--当前位置 end-->
<!--主体部分-->
<div class="cooper-hd layout960 fn-clear">
	<!--{template 'changeArea', MODULE_NAME}-->
	<a class="join" href="{url('store/join')}">在线店加盟</a>
</div>
<div class="cooper-main layout960">
	<div class="coshop-hd">
		<h4 class="f14 cblue fn-left">最新加入</h4>
	</div>
	<div id="scrollImg" class="index-img-scroll fn-left fn-clear">
		<a class="pre" href="javascript:void(0);"></a>
		<div class="img-scroll-list fn-clear">
			<ul class="fn-clear">
				{loop $newStore $k $info}
				{php $title = $info[company];}
				<li>
					<a class="img" href="{url('store/show', 'uid='.$info[userid])}" target="_blank" title="{$title}"><img src="{$info[thumb]}" alt="{$title}"></a>
					<a class="text-ellipsis" href="{url('store/show', 'uid='.$info[userid])}" title="{$title}">{$title}</a>
				</li>
				{/loop}
			</ul>
		</div>
		<a class="next" href="javascript:void(0);"></a>
	</div>
	<!--服务 start-->
	<div class="cooper-lists">
		<div class="coshop-hd">
			<h4 class="f14 cblue fn-left">服务</h4>
			<ul class="jsCoshopNav fn-left fn-clear">
				<li  {if $catid == ''}class="current"{/if}><a  href="javascript:void(0)" data-url="{url('store/iframe')}?mo=jsCoshopCar&catid=5190&aid={$areaid}">全部</a></li>
				<!--{loop $catService $cate}-->
				<li><a  href="javascript:void(0)" data-url="{url('store/iframe')}?mo=jsCoshopCar&catid={$cate['catid']}&aid={$areaid}">{$cate[catname]}</a></li>
				<!--{/loop}-->
			</ul>
		</div>
		<div class="cooper-list-blk" style="padding: 10px 0">
			<iframe id="jsCoshopCar" src="{url('store/iframe', 'mo=jsCoshopCar&cid=5190&aid='.$areaid)}"   width="952"  scrolling="off" frameborder="0"></iframe>
		</div>
	</div>
	<!--服务 end-->
	<!--销售 start-->
	<div class="cooper-lists">
		<div class="coshop-hd">
			<h4 class="f14 cblue fn-left">销售</h4>
			<ul class="jsCoshopNav fn-left fn-clear">
				<li  {if $catid == ''}class="current"{/if}><a  href="javascript:void(0)" data-url="{url('store/iframe')}?mo=jsCoshopLife&catid=5189&aid={$areaid}">全部</a></li>
				<!--{loop $catSaler $cate}-->
				<li  {if $catid == $cate['catid']}class="current"{/if}><a  href="javascript:void(0)" data-url="{url('store/iframe')}?mo=jsCoshopLife&catid={$cate['catid']}&aid={$areaid}">{$cate[catname]}</a></li>
				<!--{/loop}-->
			</ul>
		</div>
		<div class="cooper-list-blk" style="padding: 10px 0">
			<iframe id="jsCoshopLife" src="{url('store/iframe', 'mo=jsCoshopLife&cid=5189&aid='.$areaid)}"   width="952"  scrolling="off" frameborder="0"></iframe>
		</div>
	</div>
	<!--销售 end-->


	<!--所有城市 start-->
	<dl class="cooper-city fn-clear">
		<dt>其他省份：</dt>
		{loop $province $prov}
		<dd><a href="{url('store/list', array('areaid'=>$prov['areaid']))}">{$prov[areaname]}</a></dd>
		{/loop}
	</dl>
	<!--所有城市 end-->
</div>
<!--主体部分end-->

<script>
	seajs.use([ 'mod-imgScroll','$','common'],function(imgScroll,$){
		$(".jsCoshopNav>li").click(function(){
			var url = $(this).children("a").attr('data-url');
			$(this).addClass("current").siblings("li").removeClass("current");
			$(this).parents(".coshop-hd").next('div.cooper-list-blk').children("iframe").attr('src',url);
		});
		var scrollImg = new imgScroll("#scrollImg", 8);
		scrollImg.slide();
	})
</script>
{template 'footer'}